﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Ext.Net;
using Ext.Net.MVC;
using Sharp.DataTransferObject;
using Sharp.Platform;
using Sharp.Platform.Interface;
using Sharp.Platform.List;
using Sharp.Platform.Other;
using Column = Ext.Net.MVC.ColumnAttribute;
using DateColumn = Ext.Net.MVC.DateColumnAttribute;
namespace Sharp.Web.Models
{
    [Title("用户日志管理")]
    [DataHandler(ModuleOP.Details, "浏览", 0)]
    public partial class UserLogIndexModel
    {
        [Column(Hidden = true)]
        public System.Guid Id { get; set; }


        /// <summary>
        /// 操作员
        /// </summary>
        [Column(Width = 140, Text = "操作员", Locked = true)]
        public string FullName { get; set; }

        /// <summary>
        /// 操作内容的描述
        /// </summary>
        [Column(Width = 400, Text = "描述")]
        public string Content { get; set; } 
        /// <summary>
        /// 事件时间
        /// </summary>
        [DateColumn(Text = "事件时间", Width = 140, Format = "yyyy-MM-dd HH:mm:ss")]
        public DateTime Eventtime { get; set; }


    }

    public partial class UserLogIndexModel : SharpList
    {
        public UserLogIndexModel()
        {
            this.Feature = ListFeature.MultiSelect | ListFeature.Paging | ListFeature.RowNumber;
        }
    }
}
